package cn.dao;

import cn.base.IBaseDao;
import cn.domain.Department;

import java.util.List;

/**
 * Created by jiaxiang Huang on 2017/3/9.
 */
public interface DepartmentDao extends IBaseDao<Department> {
    /**
     * 查询顶级部门列表
     * @return
     */
    public List<Department> topList();

    /**
     * 查看下级部门
     * @param id
     * @return
     */
    public List<Department> downList(Long id);

    /**
     * 修改回显
     * @param id
     * @return
     */
    public List<Department> getByIds(Long id);
}
